package com.settlement.system.model.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.HashMap;
import java.util.Map;

/**
* <p>
* OMS原始订单明细表导入VO
* </p>
*
* @author huangrensen
* @since 2024-04-23
*/
@Schema
@Data
public class OriginalOmsOrderExportVo implements Serializable {
    @ExcelProperty(value = "平台ID")
    private String pId;
    @ExcelProperty(value = "OMS单号")
    private String orderNo;
    @ExcelProperty(value = "店铺")
    private String storeName;
    @ExcelProperty(value = "网店交易号")
    private String storeTradeNo;
    @ExcelProperty(value = "换货原始交易号")
    private String originalNo;
    @ExcelProperty(value = "子交易号")
    private String subNo;
    @ExcelProperty(value = "订单状态")
    private String status;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ExcelProperty(value = "下单时间")
    private LocalDateTime purchasedTime;
    @ExcelProperty(value = "付款时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime paymentTime;
    @ExcelProperty(value = "发货时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime sendTime;
    @ExcelProperty(value = "已付金额")
    private BigDecimal paidAmount;
    @ExcelProperty(value = "ERP单号")
    private String erpNo;
    @ExcelProperty(value = "商品SKU")
    private String sku;
    @ExcelProperty(value = "条码")
    private String productCode;
    @ExcelProperty(value = "商品名称")
    private String productName;
    @ExcelProperty(value = "均摊金额")
    private BigDecimal equalizationAmount;
    @ExcelProperty(value = "数量")
    private Integer qty;
    // 明细
    @ExcelProperty(value = "会员")
    private String member;
    @ExcelProperty(value = "配货状态")
    private String distributeStatus;
    @ExcelProperty(value = "支付方式")
    private String payType;
    @ExcelProperty(value = "支付状态")
    private String payStatus;
    @ExcelProperty(value = "发货仓库")
    private String sendWarehouse;
    @ExcelProperty(value = "收货人")
    private String receiver;
    @ExcelProperty(value = "收货人手机")
    private String receiverPhone;
    @ExcelProperty(value = "收货人电话")
    private String receiverMobile;
    @ExcelProperty(value = "收货人地址")
    private String receiverAddress;
    @ExcelProperty(value = "省份")
    private String province;
    @ExcelProperty(value = "市")
    private String city;
    @ExcelProperty(value = "区")
    private String area;
    @ExcelProperty(value = "买家姓名")
    private String buyName;
    @ExcelProperty(value = "配送方式")
    private String distributeType;
    @ExcelProperty(value = "定金付款时间")
    private String depositPayTime;
    @ExcelProperty(value = "订单转入时间")
    private String inTime;
    @ExcelProperty(value = "订单确认时间")
    private String confirmTime;
    @ExcelProperty(value = "通知配货时间")
    private String noticeTime;
    @ExcelProperty(value = "配货时间")
    private String distributeTime;
    @ExcelProperty(value = "出库时间")
    private String outTime;
    @ExcelProperty(value = "挂起人")
    private String suspend;
    @ExcelProperty(value = "客户留言")
    private String customerMessage;
    @ExcelProperty(value = "商家备注")
    private String sellerRemark;
    @ExcelProperty(value = "订单备注")
    private String orderRemark;
    @ExcelProperty(value = "预分配缺货数量")
    private String preDistributeQty;
    @ExcelProperty(value = "平台规格")
    private String spec;
    @ExcelProperty(value = "预计发货时间")
    private String preSendTime;
    @ExcelProperty(value = "物流单号")
    private String deliveryNo;
    @ExcelProperty(value = "商品金额")
    private String goodsAmount;
    @ExcelProperty(value = "商品标记")
    private String goodsTag;
    @ExcelProperty(value = "平台商品名称")
    private String goodsName;
    @ExcelProperty(value = "平台商品ID")
    private String goodsId;
    @ExcelProperty(value = "WMS订单号")
    private String wmsOrderNo;
    @ExcelProperty(value = "实际支付金额（去除平台优惠）")
    private String actPayAmount;
    @ExcelProperty(value = "网店优惠信息")
    private String preferInfo;
    @ExcelProperty(value = "WMS推送单号")
    private String wmsPushNo;
    @ExcelProperty(value = "品牌")
    private String brandName;
}
